package com.haizhi.crm.biz.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * Created by yangyijun on 2018/6/3.
 */
@Data
public class VisitRecordQo {

    @ApiModelProperty(value = "拜访记录ID，只有更新拜访记录时需要，新增时不需要传入" )
    private Long id;
    @ApiModelProperty(value = "产品objectKey" )
    private String productKey;

    @ApiModelProperty(value = "行内动态objectKey" )
    private String innerEventKey;

    @ApiModelProperty(value = "行外事件objectKey" )
    private String outerEventKey;

    @ApiModelProperty(value = "客户objectKey" )
    @NotNull
    private String customerKey;

    @ApiModelProperty(value = "拜访日程标题" )
    @NotNull
    private String title;

    @ApiModelProperty(value = "地点" )
    @NotNull
    private String address;

    @ApiModelProperty(value = "描述" )
    private String recordDesc;

    @ApiModelProperty(value = "拜访开始时间，格式：2018-04-13 16:00:00" )
    @NotNull
    private String visitTimeStart;

    @ApiModelProperty(value = "拜访结束时间，格式：2018-04-13 16:00:00" )
    @NotNull
    private String visitTimeEnd;

    @ApiModelProperty(value = "参与人：多个参与人ID用','号分割" )
    @NotNull
    private String visitorIds;

    @ApiModelProperty(value = "关联的拜访记录ID" )
    private Long visitRecordId;

    @ApiModelProperty(value = "接待人" )
    @NotNull
    private String receiver;
}
